package com.net.xpay.common.dao.notify;

import com.net.xpay.common.domain.notify.FlexibleStaffAuthenticationNotifyRecord;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@DataCommon
@Repository
public interface FlexibleStaffAuthenticationNotifyRecordMapper extends PagedMapper<Long, FlexibleStaffAuthenticationNotifyRecord> {
    int deleteFinishedRecord(@Param("deadline") LocalDateTime deadline);

    List<Long> listWaitNotifyRecordIds(@Param("limitCount") int limitCount);
}
